Change the default page size for the Print Tool in Triaster Server

Introduction

There are two methods of printing maps, depending upon the settings in the Print Tool Configuration. This page is applicable when pdf is not enabled and therefore the Print Tool is being used.

When printing a process map, a bitmap image is created and displayed in a new browser window. It is this image that is printed.

Configuration

The Print tool can be configured to create images of a size that is appropriate for printing on a particular size of paper. Settings are made in a config.xml file, found in Triaster\TriasterServer2011\BrowserToolkit\PrintFromWeb

The scope of these settings is the whole Triaster Server.

A set of configurations for a particular size of paper is defined within a SettingsGroup. The default setting is identified through a Default attribute.

<ProcessNavigator>

<PrintFromWeb>

<SettingsGroup Name="A4 Portrait" Default="True">

-

-

</SettingsGroup>

To change the default, just move the 'Default' attribute to a different SettingsGroup.

<ProcessNavigator>

<PrintFromWeb>

<SettingsGroup Name="A4 Portrait">

-

-

</SettingsGroup>

<SettingsGroup Name="A3 Portrait" Default="True">

-

-

</SettingsGroup>

A larger size of image that may be associated with a larger size of paper could improve print quality when printing to a smaller size of paper where the printer is configured to shrink the print to fit the paper.